# $Id: PKGBUILD 77237 2012-10-07 19:35:53Z dwallace $
# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
# Contributor: Chris Brannon <cmbrannon79@gmail.com>
# Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org>
# Contributor: Alexander Fehr <pizzapunk@gmail.com>

pkgname=python2-fuse
pkgver=0.2.1
pkgrel=4
arch=('i686' 'x86_64')
pkgdesc="Python bindings for FUSE"
url="http://fuse.sourceforge.net/wiki/index.php/FusePython"
license=('LGPL')
depends=('fuse' 'python2')
replaces=('python-fuse')
conflicts=('python-fuse')
makedepends=('pkgconfig')
source=(http://downloads.sourceforge.net/sourceforge/fuse/fuse-python-${pkgver}.tar.gz)
md5sums=('9d9c5c2311ac04291ce822dfece108f8')

package() {
  cd "$srcdir/fuse-python-$pkgver"

  python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
}
